package DAO;

import entity.Xtyh;
import entity.Zzjl;

import java.sql.SQLException;
import java.util.List;

public interface xtyhDao {
    List<Xtyh> getXtyhDao() throws SQLException, IllegalAccessException;//查询

    int addXtyhDao(Zzjl zzjl) throws SQLException, IllegalAccessException;//添加

    List<Zzjl> getZzjlDao(String payname, String Sname, int a,int b) throws SQLException, IllegalAccessException;

    int updateXtyhDao(String payname, String Sname) throws SQLException;
}
